﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Cooky.Client
{
    public class Translate
    {
        public static string TranslateIt(string s)
        {
            switch (s)
            {
                case "enable":
                    return "正常";
                case "pause":
                    return "暂停";
                case "dnserror":
                    return "DNS错误";
                case "notexist":
                    return "域名不存在";
                case "URL record count limit.":
                    return "URL使用数量已经达到上限。";
                default:
                    return s;
            }
        }
    }
}
